﻿<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MBTI职业性格测试</title>
<meta name="description" content="免费MBTI职业性格测试" />
<meta name="keywords" content="MBTI, 性格测试, MBTI职业性格测试,十六型人格测试,INTJ,INFJ,INTP,INFP,ISTJ,ISFJ,ISTP,ISFP,ENTJ,ENFJ,ENTP,ENFP,ESTJ,ESFJ,ESTP,ESFP" />
<script src="jquery.js"></script>
<style>
html,body{height:100%;margin:0;cursor:default;font-size:1.7em;}
h1{background:#ccf;line-height:1em;font-size:1.5em;padding:.25em;margin:0;text-align:center}
#progress {background:#eef;line-height:1em;height:1em;font-size:1em;padding:0;margin:0;text-align:center;position:relative;}
#progress-bg {background:#ddf;width:0%;height:1em;position:absolute}
#progress-counter{background:none;width:100%;height:1em;position:absolute;font-family:GillSans;font-size:.8em}
#result {display:none;text-align:center;font-size:2em}
ul#collection {margin-left:.5em;position:relative}
ul#collection li{zoom:1;padding:.625em 0;list-style:none;display:none;position:absolute; height:100%}
	ul#collection li:after{clear:both;height:0;content:"\20";overflow:hidden;}
ul#collection li div{height:33%}
.question {font-weight:bold;font-size:1.25em;margin-bottom:1em}
.answer {font-size:1em; width:18.75em; margin-left:.25em;padding:.3em;cursor:pointer}
input {cursor:pointer; font-size:1em}
#progress, #collection {display:none}
#splash {text-align:center; margin:0 auto}
#splash p{padding: 0 1em}
#splash input{padding: .1em}
.warning {color:red; font-size:.8em}
#collection {height:100%}
.question, .answer {height:35%}
#result_type {color:red}
#result_details {display:none;margin-left:10px;font-size:0.8em}
#result_details p{display:none}
#result_details ul{display:none}

.link{font-size:.3em}
</style>
</head>
<body>
<h1>MBTI职业性格测试</h1>
<div id="progress">
  <div id="progress-bg"></div>
  <div id="progress-counter">(<span id='counter'>1</span>/70)</div>
</div>
<ul id="collection"></ul>
<div id="result">
<p>您的结果为：<span id="result_type"></span></p>
<p class="link">测试地址：http://www.awflasher.com/mbti - 发给朋友、同事、亲人让他们也测测看！</p>
</div>

<div id="splash">
  <p>请不要反复纠结与思考。对于模棱两可的问题，按照你内心的倾向作答</p>
  <p class="warning">为了测试准确，答完一题后不可后退</p>
  <input id="start" type="button" disabled="disabled" value="载入中..." />
</div>
<div id="result_details">
<p class="ENFJ">ENFJ 优点：</p>
<ul class="ENFJ" id="ENFJ_strengths">
<li>很好的直觉，ENFJ可以很好地感知别人的想法</li>
<li>非常乐观，充满了无尽的激情和幽默感</li>
<li>可以激发与鼓励他人</li>
<li>很好的沟通技巧</li>
<li>善于理财</li>
<li>有能力从一段失败的恋情中恢复</li>
<li>非常忠诚，有耐心且勤奋</li>
<li>信守承诺、不食言</li>
<li>善于发掘双赢（皆大欢喜）的机会</li>
</ul>
<p class="ENFJ">ENFJ 弱点：</p>
<ul class="ENFJ" id="ENFJ_weaknesses">
<li>过于自责，尤其是在恋情中</li>
<li>过于重视别人的感受，忽略自己，并因此陷入压力</li>
<li>过于谨慎</li>
<li>对于冲突过于不安</li>
<li>不如意时，有一定的操控欲</li>
<li>面对异议无法冷静与理智</li>
<li>在某些社交场合有可能失态</li>
<li>往往低估自己</li>
<li>过于在意主观情绪，而不是客观是非</li>
</ul>
<p class="INTJ">INTJ 优点：</p>
<ul class="INTJ" id="INTJ_strengths">
<li>Immune to conflict, criticism and emotional manipulation</li>
<li>Confident in their abilities and knowledge</li>
<li>Very strong drive and determination</li>
<li>Serious attitude towards relationships and responsibilities</li>
<li>Excellent ability to listen</li>
<li>Usually very talented and insightful</li>
<li>Able to swiftly terminate the relationship when necessary (INTJ will devote a lot of time to analysing the situation before and after)</li>
<li>Desire to constantly improve relations</li>
</ul>
<p class="INTJ">INTJ 弱点：</p>
<ul class="INTJ" id="INTJ_weaknesses">
<li>Poor understanding of emotions – INTJ can sometimes be insensitive</li>
<li>Preferred reaction to any conflict – cold logic and rationality rather than the emotional support, which may be more desirable</li>
<li>Tendency to believe that they are always right</li>
<li>Unwillingness or inability to accept blame</li>
<li>Constant urge to improve everything could complicate relations</li>
<li>Tendency to be fixated about the privacy and personal space</li>
</ul>
<p class="INFJ">INFJ 优点：</p>
<ul class="INFJ" id="INFJ_strengths">
<li>愿意倾听别人的想法</li>
<li>责任感强</li>
<li>对感情认真</li>
<li>对感情理想化</li>
<li>无私、利他、友善</li>
<li>能够包容他人的情绪</li>
<li>沟通能力强（尤其是书面沟通）</li>
<li>能完成比指责范围更多的工作</li>
<li>失恋之后能够容易地进入一段新的感情，因为INFJ知道失去的已经无法挽回</li>
</ul>

<p class="INFJ">INFJ 弱点：</p>
<ul class="INFJ" id="INFJ_weaknesses">
<li>对感情很不敏感，很难察觉伴侣已经移情别恋了</li>
<li>非常反感冲突与争吵，对于挑衅不知所措</li>
<li>容易无意识地隐藏自己的真实想法</li>
<li>理财能力较差</li>
<li>对他人期待过高</li>
</ul>
<p class="INTP">INTP 优点：</p>
<ul class="INTP" id="INTP_strength">
<li>Simple needs</li>
<li>Relaxed, easy approach to life</li>
<li>Resistance to conflict and criticism</li>
<li>Excellent imagination and creativity</li>
<li>INTPs love and affection for people close to them are unusually strong and pure, even with hints of childlike enthusiasm</li>
<li>Huge enthusiasm when it comes to something the INTP is interested in</li>
</ul>

<p class="INTP">INTP 弱点：</p>
<ul class="INTP" id="INTP_weaknesses">
<li>Tendency to approach conflict situations by either ignoring them or unleashing uncontrollable anger</li>
<li>Potential difficulties in leaving failed relationships</li>
<li>Uncomfortable when it is necessary to express their own feelings and emotions</li>
<li>Tendency to view others with suspicion and caution</li>
<li>Poor sense of other people’s feelings and slow reaction to their emotional needs</li>
<li>Relatively poor practical skills, including money management</li>
</ul>

<p class="INFP">INFP 优点：</p>
<ul class="INFP" id="INFP_strengths">
<li>Desire to meet the needs of others</li>
<li>Ability to recognise and respect other people’s space</li>
<li>Flexibility and versatility</li>
<li>Immense capacity for love and care</li>
<li>Loyalty and dedication to long term relationships</li>
<li>Desire to cooperate, rather than dominate</li>
<li>Sincere concern for others</li>
<li>Excellent ability to express themselves</li>
<li>Sensitivity and responsiveness to other people’s feelings</li>
</ul>

<p class="INFP">INFP 弱点：</p>
<ul class="INFP" id="INFP_weaknesses">
<li>Craving of praise and appreciation</li>
<li>Perfectionist tendencies, sometimes resulting from self-criticism</li>
<li>Extreme hostility to conflict and criticism</li>
<li>Difficulties in terminating unsuccessful relationships</li>
<li>Tendency to blame themselves for problems encountered along the way</li>
<li>Tendency to be quite reserved and even shy</li>
<li>Very emotional reaction in stressful situations</li>
<li>Unwillingness to tolerate breaches of their “safe” zone</li>
<li>Difficulties in punishing or criticizing others</li>
</ul>

<p class="ISTJ">ISTJ 优点：</p>
<ul class="ISTJ" id="ISTJ_strengths">
<li>Able to punish or discipline others, when necessary</li>
<li>Excellent listening skills</li>
<li>Takes their role in the relationship very seriously</li>
<li>Usually able to convey their thoughts very accurately</li>
<li>Strong sense of commitment</li>
<li>Good money management skills</li>
<li>Resistant to criticism, but only if it is constructive</li>
<li>Able to keep their cool in conflict situations</li>
</ul>


<p class="ISTJ">ISTJ 弱点：</p>
<ul class="ISTJ" id="ISTJ_weaknesses">
<li>Sometimes too rigid and conservative</li>
<li>Tendency to dominate – ISTJ personalities enjoy winning conflicts and conversations</li>
<li>Poor perception of other people’s feelings</li>
<li>May find it difficult to acknowledge that they have made a mistake</li>
<li>Not naturally in tune with the needs of their loved ones</li>
</ul>
<p class="ISFJ">ISFJ 优点：</p>
<ul class="ISFJ" id="ISFJ_strengths">
<li>Very serious about long-term relationships and obligations</li>
<li>Very loyal and supportive</li>
<li>Take their duties and responsibilities really seriously</li>
<li>Very sensitive to other people’s needs</li>
<li>Excellent listening skills</li>
<li>Selfless, warm and extraordinarily patient</li>
<li>Able to handle daily matters and routine tasks effortlessly</li>
<li>Good money management skills</li>
</ul>

<p class="ISFJ">ISFJ 弱点：</p>
<ul class="ISFJ" id="ISFJ_weaknesses">
<li>Unlikely to be able (and willing) to express their feelings – this may result in a lot of frustration being accumulated inside their minds</li>
<li>Unlikely to go beyond their comfort zone and experience new things</li>
<li>Very intolerant and vulnerable to conflicts and criticism</li>
<li>Difficulties in leaving a bad relationship; ISFJs are also likely to find it difficult to move on after a relationship (romantic or otherwise) breaks down</li>
<li>May pay too little attention to their own needs and desires</li>
</ul>

<p class="ISTP">ISTP 优点：</p>
<ul class="ISTP" id="ISTP_strengths">
<li>Great engineering and mechanical skills</li>
<li>Impressive listening skills</li>
<li>High self-confidence (most of the time)</li>
<li>Excellent sense of reality</li>
<li>Very practical and down-to-earth</li>
<li>Have no difficulties handling routine, daily tasks</li>
<li>Resistant to conflict or criticism</li>
<li>Able to leave a failed relationship relatively easily</li>
<li>Respect other people’s personal space and privacy, as long as they are not working on the same project</li>
</ul>

<p class="ISTP">ISTP 弱点：</p>
<ul class="ISTP" id="ISTP_weaknesses">
<li>Relatively bad at expressing feelings or emotions</li>
<li>Relish action and adrenaline, sometimes purposefully escalating the already tense situation</li>
<li>Difficulties in meeting long-term commitments due to the tendency to live “here and now”</li>
<li>Tendency to be too reserved, hiding most of their thoughts and feelings from other people</li>
<li>Need a lot of personal space and dislike any intrusions, unless there is a very good reason</li>
<li>Poor sense of other people’s feelings, which can often be perceived as insensitivity</li>
</ul>

<p class="ISFP">ISFP 优点：</p>
<ul class="ISFP" id="ISFP_strengths">
<li>Warmth and friendliness</li>
<li>Optimism, sensitivity and impressive practical skills</li>
<li>Take their commitments seriously, seek long-term relationships</li>
<li>Willingness to take practical steps to express their love and affection</li>
<li>Excellent listeners</li>
<li>Respect others’ personal space</li>
<li>Flexible and relaxed, willing to negotiate and recognize others’ needs</li>
<li>Love for aesthetics and beauty</li>
</ul>

<p class="ISFP">ISFP 弱点：</p>
<ul class="ISFP" id="ISFP_weaknesses">
<li>Tendency to appear slow and lazy due to their concentration and enjoyment of the present moment</li>
<li>May be slow in expressing their feelings verbally</li>
<li>Need a lot of personal space and strongly object to any intrusions</li>
<li>Bad long-term planning skills</li>
<li>Strongly dislike and are very vulnerable to conflicts and criticism</li>
<li>Tendency to hide their thoughts and feelings</li>
<li>May be at risk of becoming too materialistic and cynical</li>
</ul>

<p class="ENFJ">ENFJ 优点：</p>
<ul class="ENFJ" id="ENFJ_strengths">
<li>Highly intuitive – ENFJs can easily sense what other people think</li>
<li>Very optimistic, with sparkling sense of humour and never-ending energy</li>
<li>Ability to motivate and inspire other people</li>
<li>Good communication skills</li>
<li>Excellent money management skills</li>
<li>Ability to move one with their life if a romantic relationship fails</li>
<li>Very loyal, patient and dedicated</li>
<li>Take their commitments seriously and seek strong relationships</li>
<li>Desire to seek situations where there are no losers and no one gets hurt</li>
</ul>

<p class="ENFJ">ENFJ 弱点：</p>
<ul class="ENFJ" id="ENFJ_weaknesses">
<li>Likely to blame themselves for many things, especially for difficulties in their romantic relationships</li>
<li>Tendency to put other people’s needs above their own, which can cause a lot of stress and disappointment in certain cases</li>
<li>Tendency to be overwhelmingly caring</li>
<li>Very strong dislike of conflicts – ENFJs are likely to try to avoid resolving the underlying issues</li>
<li>May resort to manipulation if they do not get what they want</li>
<li>May not be able to react calmly and rationally to opinions that strongly differ from their own</li>
<li>Risk of “faux pas” in certain social situations</li>
<li>May underestimate themselves</li>
<li>May be too inflexible and even narrow-minded, focusing too much on what is acceptable rather than what is right</li>
</ul>

<p class="ENTP">ENTP 优点：</p>
<ul class="ENTP" id="ENTP_strengths">
<li>Very magnetic and charismatic</li>
<li>Good at coming up with various potentially profitable ideas, but may have difficulties implementing them</li>
<li>Usually very relaxed and flexible</li>
<li>Popular and able to make new friends very easily – ENTPs’ communication skills tend to be really impressive</li>
<li>Able and willing to grow and develop</li>
<li>Love challenges, provided that they are serious enough</li>
<li>Can be very patient and committed</li>
</ul>

<p class="ENTP">ENTP 弱点：</p>
<ul class="ENTP" id="ENTP_weaknesses">
<li>Tendency to abandon ideas and plans once they lose their attractiveness</li>
<li>May move from one partner to another, always seeking novelties and excitement</li>
<li>ENFPs’ pursuit of personal growth may also encourage them to seek new romantic partners in hopes that the new relationship will challenge them in a more exciting way</li>
<li>Enjoy arguing over everything, often being unaware that the topic may hurt their partner</li>
<li>Tendency to take unnecessary risks, including financial ones</li>
</ul>

<p class="ENFP">ENFP 优点：</p>
<ul class="ENFP" id="ENFP_strength">
<li>Tend to be very devoted and attached to their friends</li>
<li>Eternal optimists, able to motivate and inspire others</li>
<li>Sincerely interested in other people</li>
<li>Are very energetic and have a great sense of humor</li>
<li>Do their best to make sure that nobody gets hurt in an argument</li>
<li>Altruistic and warm</li>
<li>Deep awareness of other people’s motives</li>
<li>Excellent communication skills</li>
<li>Comfortable in situations they have never been in before</li>
</ul>

<p class="ENFP">ENFP 弱点：</p>
<ul class="ENFP" id="ENFP_weaknesse">
<li>Occasionally unrealistic expectations</li>
<li>May have difficulties maintaining focus and attention</li>
<li>Likely to try to avoid routine and repetitive activities – this may complicate their daily tasks or administrative duties</li>
<li>Unwilling to discipline or punish others, which may lead to loss of respect if the ENFP is in a position of authority</li>
<li>Tendency to be slightly overbearing – ENFPs often care so much about their loved ones that their attention becomes tiring</li>
<li>May ignore their own needs</li>
<li>Inability to leave failed romantic relationships, long after they have passed the point of no return</li>
<li>May change partners more frequently than other types, always looking for someone better</li>
<li>Very hostile to conflicts and criticism</li>
</ul>

<p class="ESTJ">ESTJ 优点：</p>
<ul class="ESTJ" id="ESTJ_strengths">
<li>Value stability and discipline</li>
<li>Have good money management skills</li>
<li>Can easily cope with criticism and even welcome it in many situations</li>
<li>Very reliable, determined and patient</li>
<li>Strong-willed; prefer to approach problems head-on</li>
<li>Willing to accept responsibility for carrying out various routine tasks</li>
<li>Very friendly, reasonable and reliable</li>
<li>Very serious, traditional approach to relationships</li>
</ul>

<p class="ESTJ">ESTJ 弱点：</p>
<ul class="ESTJ" id="ESTJ_weaknesses">
<li>May focus too much on their social status</li>
<li>Not naturally sensitive</li>
<li>May put financial gain above other values</li>
<li>Dislike challenges, especially if they are likely to require significant lifestyle changes</li>
<li>May be quite arrogant and dominant</li>
<li>Poor sense of socially acceptable expressions and words – this may often offend other people</li>
<li>Likely to react quite harshly if someone is being careless or ineffective</li>
<li>Difficulties in expressing their own and understanding other people’s emotions</li>
</ul>

<p class="ESFJ">ESFJ 优点：</p>
<ul class="ESFJ" id="ESFJ_strengths">
<li>Very devoted to their family and close friends</li>
<li>Popular, enthusiastic and energetic</li>
<li>Good with money and practical matters</li>
<li>Value existing professional and personal relationships and pay a lot of attention to their friends’ needs</li>
<li>Take their duties very seriously</li>
<li>Aim to develop very strong and lasting romantic relationships</li>
<li>Very warm and supportive</li>
</ul>
<p class="ESFJ">ESFJ 弱点：</p>
<ul class="ESFJ" id="ESFJ_weaknesses">
<li>May manipulate others in order to achieve their personal goals</li>
<li>Take critical comments very personally and will do everything to defend their close friends or relatives from criticism, regardless of whether it is justified</li>
<li>Loathe conflict, uncertainty and drastic changes</li>
<li>Likely to pay too much attention to their social status – ESFJs may spend a lot of time contemplating what other people think of them</li>
<li>May feel unloved and unvalued if they do not get enough attention</li>
<li>Tend to ignore their own needs, sacrificing too much for the sake of others</li>
</ul>

<p class="ESTP">ESTP 优点：</p>
<ul class="ESTP" id="ESTP_strength">
<li>Both rational and sensitive</li>
<li>Enthusiastic and inspiring, able to make even the most mundane task seem fun and interesting</li>
<li>Resistant to criticism or conflict</li>
<li>Good money management skills</li>
<li>Smart, cheerful and well-liked</li>
<li>Very good at managing crisis situations</li>
<li>Usually attractive and popular among the members of the opposite sex</li>
<li>Willingness and ability to spend quality time with their children</li>
<li>Pay a lot of attention to their partners’ needs (though this may be limited to materialistic needs)</li>
</ul>
<p class="ESTP">ESTP 弱点：</p>
<ul class="ESTP" id="ESTP_weaknesse">
<li>Poor long-term planning skills</li>
<li>Would rather sweep conflicts under the carpet than solve them once and for all</li>
<li>Tendency to be somewhat rude to other people, mostly unintentionally</li>
<li>May be attracted to gambling or other risky activities</li>
<li>Poor sensitivity when it comes to other people’s feelings</li>
<li>Bad at expressing feelings and emotions</li>
<li>Reluctant to make lifelong commitments</li>
<li>May get bored very quickly (also applies to relationships)</li>
<li>ESTPs’ tendency to shower their friends with gifts may often make other people quite uncomfortable</li>
</ul>

<p class="ESFP">ESFP 优点：</p>
<ul class="ESFP" id="ESFP_strengths">
<li>Have impressive artistic skills</li>
<li>Enjoy living in the present and can make the most of it</li>
<li>Both very creative and practical</li>
<li>Excellent control of all five senses</li>
<li>Very popular and fun to be around</li>
<li>Honest and flexible, with a good sense of humor</li>
<li>Brimming with enthusiasm, warmth and generosity</li>
</ul>
<p class="ESFP">ESFP 弱点：</p>
<ul class="ESFP" id="ESFP_weaknesses">
<li>May jump from partner to partner, always looking for novelty and excitement</li>
<li>Tendency to ignore their own needs</li>
<li>May pay too much attention to sensual experiences, ignoring their own health</li>
<li>Poor money management skills – ESFP may be quite profligate</li>
<li>May focus too much on materialistic things</li>
<li>Very vulnerable to criticism, take any negative comments extremely personally</li>
<li>Dislike making long-term commitments</li>
</ul>

</div>
<script>
$(window).resize(function() {
  
});

</script>
<div style="display:none">
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F2999ae4f4b8a29945b41754bcc481992' type='text/javascript'%3E%3C/script%3E"));
</script>
</div>


<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27468792-4']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
var content = '[{"q":" 在聚会时，你通常","a1":"A. 与许多人交流，其中包括陌生人","a1_v":"E","a2":"B. 只与一些朋友交流","a2_v":"I"},{"q":" 一般来说，儿童","a1":"A. 经常没有发挥他们的用处","a1_v":"S","a2":"B. 常常没有运用他们的幻想","a2_v":"N"},{"q":" 对于工作场所的杂乱无章，你通常","a1":"A. 看不顺眼，花时间将它们归置整齐","a1_v":"J","a2":"B. 无所谓，很能容忍","a2_v":"P"},{"q":" 你更像下面的哪种人","a1":"A. 头脑冷静的人","a1_v":"T","a2":"B. 热心肠的人","a2_v":"F"},{"q":" 在做选择时，你一般是","a1":"A. 非常小心的","a1_v":"J","a2":"B. 有点冲动的","a2_v":"P"},{"q":" 哪种方式更像你","a1":"A. 很快下定决心","a1_v":"J","a2":"B. 反复权衡好一会","a2_v":"P"},{"q":" 哪种方式更能使你了解意义","a1":"A. 直白性的说明","a1_v":"S","a2":"B. 比喻性的说明","a2_v":"N"},{"q":" 哪种情况更糟","a1":"A. 想入非非","a1_v":"S","a2":"B. 墨守成规","a2_v":"N"},{"q":" 如果你不得不让某人失望，你通常会采取","a1":"A. 坦白而直接的方式","a1_v":"T","a2":"B. 温暖而周到的方式","a2_v":"F"},{"q":"在工作中，你希望你的任务是","a1":"A. 事先排定的","a1_v":"J","a2":"B. 没有排定的","a2_v":"P"},{"q":"在做决定时，你更可能依据哪种而定","a1":"A. 事实，资料","a1_v":"T","a2":"B. 欲望，情感","a2_v":"F"},{"q":"你更愿意说你是哪种人","a1":"A. 严肃而果断的人","a1_v":"J","a2":"B. 随和而宽容的人","a2_v":"P"},{"q":"与陌生人交流，让你觉得","a1":"A. 兴奋，有活力","a1_v":"E","a2":"B. 费劲，是负担","a2_v":"I"},{"q":"哪种更好些","a1":"A. 公正的","a1_v":"T","a2":"B. 仁慈的","a2_v":"F"},{"q":"你认为你自己是","a1":"A. 一个好的善谈者","a1_v":"E","a2":"B. 一个好的倾听者","a2_v":"I"},{"q":"你更像哪种人","a1":"A. 容易接近的","a1_v":"E","a2":"B. 有点矜持的","a2_v":"I"},{"q":"你更倾向于","a1":"A. 把事情确定下来","a1_v":"J","a2":"B. 探索不同的可能性","a2_v":"P"},{"q":"你更容易受哪种影响","a1":"A. 有说服力的证据","a1_v":"T","a2":"B. 令人同情的恳求","a2_v":"F"},{"q":"当你负责管理别人时，你更可能采取","a1":"A. 强硬而坚定不移的方式","a1_v":"T","a2":"B. 宽容不严厉的方式","a2_v":"F"},{"q":"大多数情况下，你更愿意","a1":"A. 确信事情安排妥当","a1_v":"J","a2":"B. 任由事情发生","a2_v":"P"},{"q":"哪种情况你更为满意","a1":"A. 一件完成的产品","a1_v":"J","a2":"B. 正在进行中的工作","a2_v":"P"},{"q":"在评价别人的时候，你更像哪种","a1":"A. 客观，不带个人感情色彩","a1_v":"T","a2":"B. 友善，有主观色彩","a2_v":"F"},{"q":"哪种情形更像你的","a1":"A. 匆忙多于悠闲","a1_v":"J","a2":"B. 悠闲多于匆忙","a2_v":"P"},{"q":"哪种更是对人的赞扬","a1":"A. “这是一个有逻辑的人”","a1_v":"T","a2":"B. “这是一个情感丰富的人”","a2_v":"F"},{"q":"你认为幻想家和理论家","a1":"A. 有些让人烦","a1_v":"S","a2":"B. 相当有吸引力","a2_v":"N"},{"q":"在做一件工作时，你更喜欢","a1":"A. 专心于这件事，直到结束","a1_v":"J","a2":"B. 注意力又转移到其他事情上","a2_v":"P"},{"q":"哪种更吸引你","a1":"A. 基本规则","a1_v":"S","a2":"B. 含义，言外之意","a2_v":"N"},{"q":"你更倾向于哪种","a1":"A. 随心所欲地直接说出自己的想法","a1_v":"E","a2":"B. 经常是多听少说","a2_v":"I"},{"q":"你更像是哪种人","a1":"A. 观察力胜过内省力","a1_v":"S","a2":"B. 内省力胜过观察力","a2_v":"N"},{"q":"在工作中，对你来说哪种情况更为自然","a1":"A. 指出错误","a1_v":"J","a2":"B. 试图取悦他人","a2_v":"P"},{"q":"在热烈的讨论中，你","a1":"A. 坚持自己的立场","a1_v":"T","a2":"B. 寻求共同的谈论背景","a2_v":"F"},{"q":"你更愿意感觉","a1":"A. 现实","a1_v":"S","a2":"B. 有些飘忽，不太现实","a2_v":"N"},{"q":"在多数情况下，你是","a1":"A. 实际的人","a1_v":"S","a2":"B. 富于想象的人","a2_v":"N"},{"q":"你更可能相信你的","a1":"A. 经验","a1_v":"S","a2":"B. 想象","a2_v":"N"},{"q":" 你希望自己更多一些","a1":"A. 意志力","a1_v":"T","a2":"B. 情感","a2_v":"F"},{"q":" 你更愿意工作到","a1":"A. 期限的最后一刻","a1_v":"J","a2":"B. 随便什么时候结束为止","a2_v":"P"},{"q":" 在大多数场合中，你","a1":"A. 审慎多于自发（言行谨慎）","a1_v":"J","a2":"B. 自发多于审慎（信口随心）","a2_v":"P"},{"q":" 你更看重自己身上的哪种特点","a1":"A. 理智的","a1_v":"T","a2":"B. 热忱的","a2_v":"F"},{"q":" 你认为自己基本上是个","a1":"A. 脸皮厚、不敏感的人","a1_v":"T","a2":"B. 脸皮薄、敏感的人","a2_v":"F"},{"q":" 你更喜欢协议是","a1":"A. 正式签署、存档的","a1_v":"J","a2":"B. 只是口头协议","a2_v":"P"},{"q":" 与别人在一起时，你更经常是","a1":"A. 强硬多于温柔","a1_v":"T","a2":"B. 温柔多于强硬","a2_v":"F"},{"q":" 在工作环境中，有时你","a1":"A. 太缺乏同情心","a1_v":"T","a2":"B. 太过有同情心","a2_v":"F"},{"q":" 哪种东西更吸引你","a1":"A. 思想的一致性","a1_v":"T","a2":"B. 人际关系的和谐","a2_v":"F"},{"q":" 你认为自己是哪种人","a1":"A. 外向的人","a1_v":"E","a2":"B. 内向的人","a2_v":"I"},{"q":" 哪种情形你更感舒适","a1":"A. 做批评、分析性判断时","a1_v":"T","a2":"B. 做价值判断时","a2_v":"F"},{"q":" 你更像哪种情况","a1":"A. 实际的多于观念的","a1_v":"S","a2":"B. 观念的多于实际的","a2_v":"N"},{"q":" 哪种东西更多地支配着你","a1":"A. 你的思想","a1_v":"T","a2":"B. 你的感情","a2_v":"F"},{"q":" 你认为自己更像是","a1":"A. 有强烈的现实感的人","a1_v":"S","a2":"B. 有生动的想象力的人","a2_v":"N"},{"q":" 你是哪种人","a1":"A. 相当健谈的人","a1_v":"E","a2":"B. 比较缄默的人","a2_v":"I"},{"q":" 事实","a1":"A. 就是事实本身","a1_v":"S","a2":"B. 是原则、规律的例证","a2_v":"N"},{"q":" 在排队等候时，你经常","a1":"A. 主动与别人聊天","a1_v":"E","a2":"B. 只是站在那儿等着","a2_v":"I"},{"q":" 你更经常看见","a1":"A. 眼前的现实","a1_v":"S","a2":"B. 只能通过想象的事情","a2_v":"N"},{"q":" 你对哪种更感兴趣","a1":"A. 实际是什么","a1_v":"S","a2":"B. 可能是什么","a2_v":"N"},{"q":" 你通常希望事情是","a1":"A. 确定并安排好的","a1_v":"J","a2":"B. 暂时定下来的","a2_v":"P"},{"q":" 你通常更喜欢","a1":"A. 最终的、不可更改的决议","a1_v":"J","a2":"B. 暂时的、初步的说明","a2_v":"P"},{"q":" 做哪种人最糟","a1":"A. 软弱的人","a1_v":"T","a2":"B. 坚强的人","a2_v":"F"},{"q":" 在工作中你更倾向于","a1":"A. 好与同事们一起交往","a1_v":"E","a2":"B. 不太与别人交流","a2_v":"I"},{"q":" 哪种是更大的错误","a1":"A. 太有同情心","a1_v":"T","a2":"B. 过于公平","a2_v":"F"},{"q":" 常识","a1":"A. 通常是可信的","a1_v":"S","a2":"B. 时常可疑的","a2_v":"N"},{"q":" 你喜欢的作家是哪种","a1":"A. 平铺直叙的","a1_v":"S","a2":"B. 使用比喻和象征的","a2_v":"N"},{"q":" 当电话铃声响起时，你","a1":"A. 很快去接听","a1_v":"E","a2":"B. 希望别人去接听","a2_v":"I"},{"q":" 你认为自己是","a1":"A. 硬心肠的人","a1_v":"T","a2":"B. 温柔的人","a2_v":"F"},{"q":" 你喜欢的故事是哪种类型的","a1":"A. 动作和冒险的","a1_v":"S","a2":"B. 幻想和英雄主义的","a2_v":"N"},{"q":" 你的说话更像哪种情形","a1":"A. 具体细节多于一般性的概括","a1_v":"S","a2":"B. 一般性的概括多于具体细节","a2_v":"N"},{"q":" 对你来说哪种情形更容易","a1":"A. 更好地利用别人","a1_v":"S","a2":"B. 认同别人","a2_v":"N"},{"q":" 你更容易注意到","a1":"A. 不合规范、无序之处","a1_v":"J","a2":"B. 变化的机会","a2_v":"P"},{"q":" 哪种情况你更感舒适","a1":"A. 作出决定之后","a1_v":"J","a2":"B. 作出决定之前","a2_v":"P"},{"q":" 哪种情况你感觉更好","a1":"A. 事情逐渐接近结束时","a1_v":"J","a2":"B. 继续保持再选择的可能","a2_v":"P"},{"q":" 你更像哪种人","a1":"A. 事实性多于思辨性","a1_v":"S","a2":"B. 思辨性多于事实性","a2_v":"N"},{"q":" 你更像哪种人","a1":"A. 例行常规多于一时兴起","a1_v":"J","a2":"B. 一时兴起多于例行常规","a2_v":"P"}]';
var arr = JSON.parse(content);
arr.sort( function(){return (Math.round(Math.random())-0.5)} );
var counter = 1;
var questionNumber = arr.length;
for (var i=0; i<questionNumber; i++) {
	var item = arr[i];
	var q = item.q
	var a1 = item.a1;
	var a2 = item.a2;
	var a1_v = item.a1_v;
	var a2_v = item.a2_v;
	$listNode = $("<li id='q"+(i+1)+"'></li>");
	var $questionNode = $("<div class='questionWrapper'><div class='question'>" + q + "</div><div class='answer' value='" + a1_v + "'>" + a1 + "</div><div class='answer' value='" + a2_v + "'>" + a2 + "</div></div>");
	$listNode.append($questionNode);
	$("#collection").append($listNode);
}
$("#start").val("点击开始！");
$("#start").removeAttr("disabled")
$("#start").click(function(){
  $("#progress, #collection").show('slow');
  $("#splash").hide('slow');
})
// Answer!
$('.answer').click(function(){
  var $this = $(this);
  updateValue($this.attr('value'));
  $this.parent().parent().fadeToggle('fast');
  $("#progress-bg").css("width", (counter*100/questionNumber)+"%");
  // Finish all questions
  if (counter == questionNumber) {
    $("#collection").hide();
    $("#result").show();
    $("#progress-counter").hide();
    var type = [];
    if (mbtiObj.E > mbtiObj.I) {
      type.push("E");
    } else {
      type.push("I");
    }
    if (mbtiObj.S > mbtiObj.N) {
      type.push("S");
    } else {
      type.push("N");
    }
    if (mbtiObj.F > mbtiObj.T) {
      type.push("F");
    } else {
      type.push("T");
    }
    if (mbtiObj.J > mbtiObj.P) {
      type.push("J");
    } else {
      type.push("P");
    }
    _gaq.push(['_trackEvent', 'Dimension', 'E', 'E', mbtiObj.E]);
    _gaq.push(['_trackEvent', 'Dimension', 'I', 'I', mbtiObj.I]);
    _gaq.push(['_trackEvent', 'Dimension', 'S', 'S', mbtiObj.S]);
    _gaq.push(['_trackEvent', 'Dimension', 'N', 'N', mbtiObj.N]);
    _gaq.push(['_trackEvent', 'Dimension', 'F', 'F', mbtiObj.F]);
    _gaq.push(['_trackEvent', 'Dimension', 'T', 'T', mbtiObj.T]);
    _gaq.push(['_trackEvent', 'Dimension', 'J', 'J', mbtiObj.J]);
    _gaq.push(['_trackEvent', 'Dimension', 'P', 'P', mbtiObj.P]);
    
    var type_str = type.join("");
    $("#result_type").html(type_str);
    $("#result_details").show();
    $("#result_details ."+type_str).show();
    _gaq.push(['_trackPageview', '/type/'+type_str]);
    return;
  }
  // To the next
  counter++;
  toggleQuestion(counter);
  $("#counter").text(counter);
})

$('.answer').hover(function(){
  var $this = $(this);
  $this.css("background", "#ffc");
}, function(){
  var $this = $(this);
  $this.css("background", "none");
})
var mbtiObj = {};
mbtiObj.E = 0;
mbtiObj.I = 0;
mbtiObj.S = 0;
mbtiObj.N = 0;
mbtiObj.F = 0;
mbtiObj.T = 0;
mbtiObj.J = 0;
mbtiObj.P = 0;
function updateValue(e) {
  mbtiObj[e]++;
}
function toggleQuestion(i, force) {
  $("#q"+i).fadeToggle('fast');
}
toggleQuestion(1);
</script>

</body>
</html>